//
//  SCLabelItemCell.m
//  Shuaiche
//
//  Created by dangshuai on 2019/4/23.
//  Copyright © 2019 zzs. All rights reserved.
//

#import "SCLabelItemCell.h"

@implementation SCLabelItemCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.contentView.layer.cornerRadius = 2;
    self.contentView.layer.backgroundColor = SC_TextBlack_Secondary.CGColor;
//    self.contentView.layer.borderColor = SC_RGB(153, 153, 153).CGColor;
//    self.contentView.layer.borderWidth = 0.5;
}

- (void)setSelected:(BOOL)selected {
    [super setSelected:selected];
    if (selected) {
//        self.contentView.layer.borderWidth = 0;
        _textLabel.textColor = SC_TextBlack_Primary;
        self.contentView.layer.backgroundColor = SC_Color_Tint.CGColor;
    } else {
//        self.contentView.layer.borderWidth = 0.5;
        _textLabel.textColor = [UIColor whiteColor];
        self.contentView.layer.backgroundColor = SC_TextBlack_Secondary.CGColor;
    }
}

@end
